Repository navigation
Pull requests settings: sensitive paths, deadlines, and the opt-in digest and nudges - #548
Merged
Merged
Conversation
…gest and nudges A settings page under the overview (/prs/overview/settings) for each repo's sensitive paths, the security deadlines, and the weekly digest and per-pull-request nudges, both off until a team turns them on. Anyone can read it; changing it needs agent settings. The Security panel adds open security alerts with no pull request, and says code scanning needs the security events permission. The docs say where the settings are and how the digest and nudges behave.
Contributor
|
💚 Post-merge health check passed: the deploy of
|
The no-sideways-scroll and mid-word checks draw every route from e2e/wide-data; the settings page now answers there with its longest repos, patterns and addresses, and the alerts sentence is stretched too.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The dashboard side of CoderHelm/coderhelm-platform#991, which records every overview signal at its source. A new Pull requests settings page sits under the overview, the Security panel counts security alerts that have no pull request, and the docs say where the digest and nudges are turned on.
Changes
/prs/overview/settings(linked from the overview's header,GET/PUT /api/prs/settings):owner/repo: patternsline each (for exampleacme/checkout: cart/rounding/**, *.pem), with the defaults named;The digest and nudges start off. Anyone can read the page; changing it needs agent settings, and without that the controls are disabled. Saves go through the shared settings form and save bar, and a server refusal shows in the bar.
Security and policy: shows open security alerts with no pull request, by severity, with the platform's sentence. When CoderHelm lacks the permission, it says "Code scanning alerts need the security events permission."
Docs (
pull-requests-overview.mdx): the defaults for sensitive paths, with an invented example, plus where the digest and nudges are turned on and how they behave. Nothing says "isn't sent yet" any more.Verification
npm run lint(UI lint, no hosted links, fixture words) andnpm run typecheckare clean.text_guard.pyandsecret_literals.pypass.